<div class="admin">

    <div class="panel admin-panel">
        <div class="panel-head"><strong>用户评价列表</strong></div>
        <div class="padding border-bottom">
            <form method="get" action="{:U('index')}" name="formSearch" id="formSearch">

                <label for="query_start_time" class="float-left">评价时间：</label>
                <input class="input input_small" type="text" value="" id="query_start_time" name="query_start_time" readonly="readonly">
                <label for="query_start_time" class="float-left">&nbsp;至&nbsp;</label>
                <input class="input input_small" type="text" value="" id="query_end_time" name="query_end_time" readonly="readonly">&nbsp;&nbsp;
                <input class="button bg-main" type="submit" value="查询" />
            </form>
        </div>
        <table class="table table-hover">
            <tr>
                <th>会员名</th>
                <th>商品名</th>
                <th>评论</th>
                <th>卖家回复</th>
                <th>评论时间</th>
                <th>操作</th>
            </tr>
            <foreach item='v' name='list'>
                <tr>
                    <td>{$v['user_name']}</td>
                    <td>{$v['goods_name']}</td>
                    <td>{$v['comment']}</td>
                    <td>{$v['reply']}</td>
                    <td class="td-status">{:date('Y-m-d H:i:s',$v['add_time'])}</td>
                    <td class="f-14 td-manage">
                        <a class="button bg-blue button-little" href="{:U('replyComment',array('id'=>$v['id']))}" title="编辑"><i class="icon-edit"></i>编辑</a>
                    </td>
                </tr>
            </foreach>
        </table>
        <div class="panel-foot text-center">
            <div class="pages">{$page}</div>
        </div>
    </div>
</div>
<script type="text/javascript">

    $('#query_start_time').duxTime({
        timepicker: false,
    });
    $('#query_end_time').duxTime({
        timepicker: false,
    });
</script>
